﻿#!/usr/bin/env python3

from datetime import *

def main():
    '''
datetime -    '''
    print(main.__doc__)
    print("="*30)

    td = date.today()
    print(td)
    tdOld= date(2019, 5, 3)
    diff = td - tdOld       # timedelta
    print(diff)
    print(diff.total_seconds())

    td = datetime.today()
    print(td)
    print(td.timestamp())

    




if __name__=='__main__':
    main()


